﻿using System;

namespace LDriver
{

    public delegate void DataReceivedEventHandler(object sender, byte[] data);

    public interface ICommunicationProvider
    {
        event DataReceivedEventHandler DataReceived;
        bool IsOpen();
        void SendData(Command dataCommand);
        void Close();
    }
}
